package com.isdepci.project.factor.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;

/**
 * 产品阶段对象 b_product_stage
 *
 * @author isdepci
 * @date 2024-10-12
 */
public class ProductStage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 产品ID */
    private Long productId;
    /** 标准环节阶段ID */
    private Long standardStageId;

    /** 父ID默认0 */
    private Long parentId;

    /** 名称 */
    private String name;

    /** 1阶段 2环节 */
    private Integer type;

    /** 排序 */
    private Integer orderNum;

    public ProductStage(){}

    public ProductStage(Long productId,StandardStage stage){
        this.productId = productId;
        this.standardStageId = stage.getId();
        this.parentId = stage.getParentId();
        this.name=stage.getName();
        this.type=stage.getType();
        this.orderNum=stage.getOrderNum();
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getStandardStageId() {
        return standardStageId;
    }

    public void setStandardStageId(Long standardStageId) {
        this.standardStageId = standardStageId;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }


}
